<template>
  <div>
    <el-form-item  label="静态数据值" >
      <el-input type="textarea" :rows="20" v-model="value"  @blur.prevent="changeStaticData()"></el-input>
    </el-form-item>
  </div>

</template>

<script>
export default {
  props:["staticDataValue","customId"],
  data() {
    return {
      value: typeof this.staticDataValue == 'string'?this.staticDataValue:JSON.stringify(this.staticDataValue),
    }
  },
  methods:{
    changeStaticData(){
      this.$emit("changeStaticData", this.value);
    }
  }
}
</script>